package com.sc.server.system.auth.entity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.sc.server.system.common.base.BaseSystemVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * <p>
 * 用户与角色对应关系
 * </p>
 *
 * @author zw
 * @since 2020-03-05
 */
@TableName("sys_user_role")
@Data
public class UserRole  extends BaseSystemVo {
private static final long serialVersionUID=1L;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
      @ApiModelProperty(value="用户ID", example="用户ID")
    private Long userId;

    /**
     * 角色ID
     */
    @TableField(value = "role_id")
      @ApiModelProperty(value="角色ID", example="角色ID")
    private Long roleId;


}
